﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EcApiTest.aspx.cs" Inherits="ShareMarking.Api.EcApiTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>EC-api接口测试</title>
  <%--  <script src="js/jquery.min.js" type="text/javascript"></script>--%>
    <script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
  <style type="text/css"> 
body,table{ 
font-size:12px; 
} 
table{ 
table-layout:fixed; 
empty-cells:show; 
border-collapse: collapse; 
margin:0 auto; 
} 
td{ 
height:30px; 
} 
h1,h2,h3{ 
font-size:12px; 
margin:0; 
padding:0; 
} 
.table{ 
border:1px solid #cad9ea; 
color:#666; 
} 
.table th { 
background-repeat:repeat-x; 
height:30px; 
} 
.table td input{ 
width:150px;
height:40px;
} 
.table td,.table th{ 
border:1px solid #cad9ea; 
padding:0 1em 0; 
} 
.table tr.alter{ 
background-color:#f5fafe; 
} 
</style> 
</head>
<body>
    
   <form id="form1" runat="server" action="api.ashx?action=getpnrlistbyec" method="post"> <%--api.ashx?action=getpnrlistbyec--%>
   <div style="width:1400px;height:100px;clear:both;margin:0 auto; background:#FFF; display:none;" >  
       <h2>+号替换" "</h2>
        <asp:TextBox ID="请输入参数" style="width:600px; height:50px" runat="server" Text="access_id=accessuser_ec&method=getpnrlistbyec&timestamp=1513586411"></asp:TextBox>
        <asp:Button ID="Button1" style=" width:150px; height:50px" runat="server" Text="生成签名" onclick="Button1_Click" />
        <asp:Label ID="Label1" style=" width:150px; height:50px; color:Red;" runat="server" Text="签名值"></asp:Label>
    </div>
   <table width="90%" class="table">
       <tr> 
    <th>请输入access_id</th> 
    <th>请输入method</th> 
    <th>请输入timestamp</th> 
    <th style="color:Red">请输入您生成的sign</th> 
    <th>提交</th> 
    </tr> 
       <tr>
           <td>
              <asp:TextBox ID="access_id" class="btn" runat="server" Text="accessuser_ec"></asp:TextBox>
           </td>   
           <td>
               <asp:TextBox ID="method" class="btn" runat="server" Text="getpnrlistbyec"></asp:TextBox>
           </td>
           <td>
              <asp:TextBox ID="timestamp" class="btn" runat="server" Text="1513586411"></asp:TextBox> 
           </td>  
          <%-- <td>
               <asp:TextBox ID="sceneid" class="btn" runat="server" Text="12881"></asp:TextBox>
           </td>--%>
           <td>
              <asp:TextBox ID="sign" class="btn" runat="server" style="width:240px;" Text="Ew6Df52/HsK4AaTrb1o9YFqeWKU="></asp:TextBox>
           </td> 
           <td>
            <input  type="submit" value="submit" />
           </td>     
       </tr>      
   </table>
</form>

</body>
</html>

